home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 February / OpenLinux 2.3 CD.iso / winsetup / Docs / openlinux_help / gs / img407.gif < prev    next >
Graphics Interchange Format  |  1999-07-12  |  7.9 KB  |  605x667  |  1-bit (2 colors)
   ocr: binish Dete ermine the device to be terminated. if ["$1" = : 1; then DEVICE-PPPU Else DEVICE=$1 fi ## If the pppO pid file is present then the program is running. Stop it if [ -r ver/run/SDEVICE.pid 1; then kill -ILIT cat var/run/SDEVICE.pid If the kill did not work then there is no PIOCESS running for this pid. It may also mean that the lock file will be left. You may wish to delete the lock file at the same time. if [ - "$?" = "O" 1; then rm -f var/run/SDEVICE.pid echo "ERROR: Removed stale pid file" exit 1 fi Success. Let pppd clean up its own junk. echo "PPP link to $DEVICE terminated. - e ...